package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图片信息表对象 service_picture
 * 
 * @author ZDL
 * @date 2024-11-12
 */
public class ServicePicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片表主键ID */
    private Long pictureId;

    /** 订单表ID */
    @Excel(name = "订单表ID")
    private Long pictureOrderid;

    /** 用户表ID */
    @Excel(name = "用户表ID")
    private Long pictureUserid;

    /** 图片类型（0就医证明信息图片 1耗材购买证明图片 2账单说明图片） */
    @Excel(name = "图片类型", readConverterExp = "0=就医证明信息图片,1=耗材购买证明图片,2=账单说明图片")
    private String pictureType;

    /** 图片 */
    @Excel(name = "图片")
    private String picturePic;

    /** 创建者 */
    @Excel(name = "创建者")
    private String pictureCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pictureCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String pictureUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pictureUpdateTime;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String pictureUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String pictureDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String pictureRemark;

    public void setPictureId(Long pictureId) 
    {
        this.pictureId = pictureId;
    }

    public Long getPictureId() 
    {
        return pictureId;
    }
    public void setPictureOrderid(Long pictureOrderid) 
    {
        this.pictureOrderid = pictureOrderid;
    }

    public Long getPictureOrderid() 
    {
        return pictureOrderid;
    }
    public void setPictureUserid(Long pictureUserid) 
    {
        this.pictureUserid = pictureUserid;
    }

    public Long getPictureUserid() 
    {
        return pictureUserid;
    }
    public void setPictureType(String pictureType) 
    {
        this.pictureType = pictureType;
    }

    public String getPictureType() 
    {
        return pictureType;
    }
    public void setPicturePic(String picturePic) 
    {
        this.picturePic = picturePic;
    }

    public String getPicturePic() 
    {
        return picturePic;
    }
    public void setPictureCreateBy(String pictureCreateBy) 
    {
        this.pictureCreateBy = pictureCreateBy;
    }

    public String getPictureCreateBy() 
    {
        return pictureCreateBy;
    }
    public void setPictureCreateTime(Date pictureCreateTime) 
    {
        this.pictureCreateTime = pictureCreateTime;
    }

    public Date getPictureCreateTime() 
    {
        return pictureCreateTime;
    }
    public void setPictureUpdateBy(String pictureUpdateBy) 
    {
        this.pictureUpdateBy = pictureUpdateBy;
    }

    public String getPictureUpdateBy() 
    {
        return pictureUpdateBy;
    }
    public void setPictureUpdateTime(Date pictureUpdateTime) 
    {
        this.pictureUpdateTime = pictureUpdateTime;
    }

    public Date getPictureUpdateTime() 
    {
        return pictureUpdateTime;
    }
    public void setPictureUseFlag(String pictureUseFlag) 
    {
        this.pictureUseFlag = pictureUseFlag;
    }

    public String getPictureUseFlag() 
    {
        return pictureUseFlag;
    }
    public void setPictureDelFlag(String pictureDelFlag) 
    {
        this.pictureDelFlag = pictureDelFlag;
    }

    public String getPictureDelFlag() 
    {
        return pictureDelFlag;
    }
    public void setPictureRemark(String pictureRemark) 
    {
        this.pictureRemark = pictureRemark;
    }

    public String getPictureRemark() 
    {
        return pictureRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pictureId", getPictureId())
            .append("pictureOrderid", getPictureOrderid())
            .append("pictureUserid", getPictureUserid())
            .append("pictureType", getPictureType())
            .append("picturePic", getPicturePic())
            .append("pictureCreateBy", getPictureCreateBy())
            .append("pictureCreateTime", getPictureCreateTime())
            .append("pictureUpdateBy", getPictureUpdateBy())
            .append("pictureUpdateTime", getPictureUpdateTime())
            .append("pictureUseFlag", getPictureUseFlag())
            .append("pictureDelFlag", getPictureDelFlag())
            .append("pictureRemark", getPictureRemark())
            .toString();
    }
}
